package erp.server.message.mapper;

import erp.server.message.pojo.dto.BoxSearchDTO;
import erp.server.message.pojo.entity.Draft;
import erp.server.message.pojo.vo.DraftVO;
import erp.server.message.pojo.vo.MessageListVO;

import java.util.List;

public interface DraftsMapper {
    DraftVO selectById(Long messageId);

    void updateDraft(Draft draft);
    void insert(Draft draft);
    void deleteById(Long id);

    List<MessageListVO> selectMessages(BoxSearchDTO boxSearchDTO);
}
